package com.example.aipdefficiency.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user_info")
public class UserInfo {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("username")
    private String username;
    
    @TableField("password")
    private String password;
    
    @TableField("real_name")
    private String realName;
    
    @TableField("mobile")
    private String mobile;
    
    @TableField("email")
    private String email;
    
    @TableField("avatar_url")
    private String avatarUrl;
    
    @TableField("status")
    private Integer status;
    
    @TableField("user_type")
    private Integer userType;
    
    @TableField("last_login_time")
    private LocalDateTime lastLoginTime;
    
    @TableField("create_at")
    private LocalDateTime createAt;
    
    @TableField("update_at")
    private LocalDateTime updateAt;
    
    @TableField("has_deleted")
    private Integer hasDeleted;
} 